Documentation for Users  2.0.0
Perception Toolbox for Virtual Reality (PTVR) Manual
Placing objects with 3 coordinates

😎 Note 1: In this section, all figures and examples illustrate the use of GLOBAL (aka WORLD) coordinates) to place objects.
😎 Note 2: If you want to use LOCAL coordinates, see the next Sections: Placing objects with 2 coordinates on Screens or Placing objects after coordinate transformations.

This section is divided into the following sub-sections:

  • Position in 3D cartesian coordinates
    Using this coordinate system can be helpful for instance when you want to place objects, for instance chairs, tables, ... on the floor of your virtual room (i.e. on the XZ plane of the Global Coordinate System).
  • Position in 3D perimetric coordinates
    In vision science, the cartesian coordinate system is often not appropriate as stimuli must often be positioned to induce well-characterized retinal coordinates, hence the need for the perimetric coordinate system.
  • Azimuth and elevation [To be completed]


😎 Reminder: If you need an extensive summary of relevant information on the different ways of placing objects, do not forget this helpful CHEATSHEET.


😎 Tip: when you set the 3D position of a symmetrical object, this position is applied to the center of this object. If the object is asymmetrical, like a chair, then this position is applied to the pivot of this object

Attributions
Image from Raspberry Pi Foundation - https://www.raspberrypi.org, CC BY-SA 4.0, via Wikimedia Commons.